package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.Activity;

public interface IActivityDAO {

	public abstract void save(Activity transientInstance);

	public abstract void delete(Activity persistentInstance);

	public abstract Activity findById(java.lang.Integer id);

	public abstract List findByExample(Activity instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByTitle(Object title);

	public abstract List findByDatetimeScript(Object datetimeScript);

	public abstract List findByCity(Object city);

	public abstract List findByDistrict(Object district);

	public abstract List findByPlace(Object place);

	public abstract List findByCost(Object cost);

	public abstract List findByFirstType(Object firstType);

	public abstract List findBySecondType(Object secondType);

	public abstract List findByInterestNum(Object interestNum);

	public abstract List findByParticipantNum(Object participantNum);

	public abstract List findByDetail(Object detail);

	public abstract List findBySummary(Object summary);

	public abstract List findByIsPrivate(Object isPrivate);

	public abstract List findByUserNum(Object userNum);

	public abstract List findByStatus(Object status);

	public abstract List findByReleaserId(Object releaserId);

	public abstract List findByUpNum(Object upNum);

	public abstract List findByTag(Object tag);

	public abstract List findByValid(Object valid);

	public abstract List findAll();

	public abstract Activity merge(Activity detachedInstance);

	public abstract void attachDirty(Activity instance);

	public abstract void attachClean(Activity instance);

}